package cn.itsource.wechat.mapper;

import cn.itsource.wechat.pojo.domain.WxUser;
import org.apache.ibatis.annotations.Select;
import tk.mybatis.mapper.common.Mapper;

public interface WxUserMapper extends Mapper<WxUser> {

    //基础的crud全部都是通过继承得到

    //通过openid查询
    @Select("select * from t_wxuser where openid = #{openid}")
    WxUser findByOpenid(String openid);


}
